/*
 * Copyright (c) JoinQuant Development Team
 * Author: Huayong Kuang <kuanghuayong@joinquant.com>
 */

#include <iostream>
#include <sstream>

using namespace std;

template<typename T> std::string tostring(const T& x) {
    std::ostringstream os;
    os << x;
    return os.str();
}

int main(void)
{
    int i;
	string mystring;
	i = 15;
	mystring = tostring(i);
    cout << mystring << endl;

    return 0;
}

